const alarmType = {
  Instruct: {
    value: 0,
    label: '平台指令报警'
  },
  SOS: {
    value: 1,
    label: 'SOS'
  },
  FallDown: {
    value: 2,
    label: '摔倒/跌落报警'
  },
  RemovedHat: {
    value: 3,
    label: '脱帽报警'
  },
}

const alarmTypeMap = {}

for (const key in alarmType) {
  const alarm = alarmType[key]


  alarmTypeMap[alarm.value] = alarm
}

export {alarmType, alarmTypeMap}
